package com.lonwin.inspectionmanagement.di.component;

import dagger.BindsInstance;
import dagger.Component;

import com.jess.arms.di.component.AppComponent;

import com.lonwin.inspectionmanagement.di.module.PubPointRecordModule;
import com.lonwin.inspectionmanagement.mvp.contract.PubPointRecordContract;

import com.jess.arms.di.scope.ActivityScope;
import com.lonwin.inspectionmanagement.mvp.ui.activity.PubPointRecordActivity;


/**
 * ================================================
 * Description:
 * <p>
 * Created by MVPArmsTemplate on 12/15/2018 21:22
 * <a href="mailto:jess.yan.effort@gmail.com">Contact me</a>
 * <a href="https://github.com/JessYanCoding">Follow me</a>
 * <a href="https://github.com/JessYanCoding/MVPArms">Star me</a>
 * <a href="https://github.com/JessYanCoding/MVPArms/wiki">See me</a>
 * <a href="https://github.com/JessYanCoding/MVPArmsTemplate">模版请保持更新</a>
 * ================================================
 */
@ActivityScope
@Component(modules = PubPointRecordModule.class, dependencies = AppComponent.class)
public interface PubPointRecordComponent {
    void inject(PubPointRecordActivity activity);

    @Component.Builder
    interface Builder {
        @BindsInstance
        PubPointRecordComponent.Builder view(PubPointRecordContract.View view);

        PubPointRecordComponent.Builder appComponent(AppComponent appComponent);

        PubPointRecordComponent build();
    }
}